package com.qdu.entity.sys;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author:sanShi
 * @Description:{基础实体类}
 * @date :2020/12/1
 */
@Data
public class BaseEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean isDeleted;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String creator;

    private String mender;

    @TableField(fill = FieldFill.UPDATE)
    private Date modifyTime;

}
